﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TGBTech.Core.Models.DanhMuc
{
    [Table("ChiTietHangHoa")]
    public class ChiTietHangHoa
    {
        public int Id { get; set; }

        [Required]
        public int HangHoaId { get; set; }
        public virtual HangHoa HangHoa { get; set; }
        
        public String OtherName { get; set; }

        public String SoLo { get; set; }

        [Required]
        public String QuyCach { get; set; }
        
        [Required]
        public String DVT { get; set; }
        
        [Required]
        public int VAT { get; set; }

        public DateTime NgayNhap { get; set; }
        
        public DateTime NgayHetHan { get; set; }
        
        [Required]
        public Decimal DonGiaNhap { get; set; }
        
        [Required]
        public int SoLuongTon { get; set; }

        public bool State { get; set; }
    }
}
